// ListCtrlSubclass.h: interface for the CListCtrlSubclass class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LISTCTRLSUBCLASS_H__22882EBA_297E_4EBD_B389_988CBA0CED98__INCLUDED_)
#define AFX_LISTCTRLSUBCLASS_H__22882EBA_297E_4EBD_B389_988CBA0CED98__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "WndSubclass.h"

class CListCtrlSubclass : public CWndSubclass  
{
public:
	CListCtrlSubclass();
	virtual ~CListCtrlSubclass();
protected:
	virtual LRESULT WindowProc(UINT msg, WPARAM wp, LPARAM lp);
private:
	void OnNcPaint();
	void OnPaint();
	void DoGradientFill(CDC *pDC, CRect* rect);
public:
	static COLORREF m_crFrmNor;
	static COLORREF m_crFrmFoc;
	static COLORREF m_crBackNor;
	static COLORREF m_crBackFoc;
};

#endif // !defined(AFX_LISTCTRLSUBCLASS_H__22882EBA_297E_4EBD_B389_988CBA0CED98__INCLUDED_)
